bin_PROGRAMS = maemify
maemify_SOURCES = maemify.c

AM_CFLAGS = -I../../lib -std=c99 -Wall -Wextra -ggdb -Wno-pointer-sign
AM_CFLAGS += `pkg-config --cflags gtk+-2.0 glib-2.0`
AM_LDFLAGS = -ldespotify ../../lib/libdespotify.la

if MAEMO4
 AM_CFLAGS += -DMAEMO4 `pkg-config --cflags hildon-1`
 AM_LDFLAGS += `pkg-config --libs hildon-1`
endif

AM_LDFLAGS += `pkg-config --libs gtk+-2.0 glib-2.0`
